cmake_minimum_required(VERSION 3.5.0)
project(fxcc_project)

set(CMAKE_CXX_STANDARD 17)


if(WIN32)
set(FXCC_BUILD_GRAPH_OPENGL3 ON)
endif()

if(UNIX)
set(FXCC_BUILD_GRAPH_GLES3 ON)
endif()

set(FXCC_BUILD_PLATFORM_GLFW ON)

if(WIN32)
set(FXCC_BUILD_PLATFORM_WIN32 ON)
endif()

set(FXCC_BUILD_PLATFORM_SDL ON)

# set(FXCC_BUILD_AUDIO_OPENAL ON)
# set(FXCC_BUILD_PHYSICS_RP3D ON)

include_directories(${CMAKE_SOURCE_DIR}/src)
include_directories(${CMAKE_SOURCE_DIR}/include)

add_subdirectory(src)
add_subdirectory(test)
